package com.qujia.station.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel
public class GoodsQueryVo {

    @ApiModelProperty(value = "油企名称", position = 1)
    private String enterpriseName;

    @ApiModelProperty(value = "油站名称", position = 2)
    private String stationName;

    @ApiModelProperty(value = "商品名称", position = 3)
    private String name;

    @ApiModelProperty(value = "商品id", position = 3)
    private Long id;

    @ApiModelProperty(value = "商品描述", position = 4)
    private String remark;

    @ApiModelProperty(value = "消耗积分", position = 5)
    private Integer consumedPoint;

    @ApiModelProperty(value = "库存", position = 6)
    private Integer stock;

    @ApiModelProperty(value = "状态(1:待上架 2:已下架 3:在售 4:已售空)", position = 6)
    private Integer status;

    @ApiModelProperty(value = "创建时间", position = 6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getConsumedPoint() {
        return consumedPoint;
    }

    public void setConsumedPoint(Integer consumedPoint) {
        this.consumedPoint = consumedPoint;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
